home *** CD-ROM | disk | FTP | other *** search
/ EnigmA Amiga Run 1996 February / EnigmA AMIGA RUN 04 (1996)(G.R. Edizioni)(IT)[!][issue 1996-02][Skylink CD III].iso / earcd / netbsd / experimental / bin10a / fastlane.src.950130.readme < prev    next >
C/C++ Source or Header  |  1995-02-02  |  2KB  |  86 lines

  1. Hi,
  2.  
  3. This is the sourcecode for my FastlaneZ3 driver for NetBSD. It is distributed
  4. "as is" and is still a beta version.
  5.  
  6. In the archive there are two directories: 1.0 and 1.0A-current. You should
  7. use the one that fits your kernel source.
  8.  
  9. You must add the interrupt calls in machdep.c your self. It is not difficult
  10. just change
  11.  
  12.  
  13. #include "ivsc.h"
  14. #include "ser.h"
  15. #include "idesc.h"
  16. #include "ether.h"
  17. #include "afsc.h"
  18.  
  19. to:
  20.  
  21. #include "ivsc.h"
  22. #include "ser.h"
  23. #include "idesc.h"
  24. #include "flz3sc.h"    <--- This line is added
  25. #include "ether.h"
  26. #include "afsc.h"
  27.  
  28. and change this:
  29.  
  30. intrhand(sr)
  31. ...
  32. #if NED > 0
  33.         if (edintr (0))
  34.             goto intports_done;
  35. #endif
  36. #if NEX > 0
  37.         if (exintr (0))
  38.             goto intports_done;
  39. #endif
  40. #if NIDESC > 0
  41.         if (idesc_intr ())
  42.             goto intports_done;
  43. #endif
  44.         ciaa_intr ();
  45.  
  46. to:
  47.  
  48. intrhand(sr)
  49. ...
  50. #if NED > 0
  51.         if (edintr (0))
  52.             goto intports_done;
  53. #endif
  54. #if NEX > 0
  55.         if (exintr (0))
  56.             goto intports_done;
  57. #endif
  58. #if NFLZ3SC > 0                    | This
  59.         if (flz3sc_intr())        | code
  60.           goto intports_done;        | was
  61. #endif                        | added
  62. #if NIDESC > 0
  63.         if (idesc_intr ())
  64.             goto intports_done;
  65. #endif
  66.         ciaa_intr ();
  67.  
  68. If you already have these code parts in your kernel it is already prepared
  69. to use the Fastlane driver. (i.e. you already have it or the code is there
  70. anyway)
  71.  
  72. You must also make sure that the files.amiga.newconf contains the necessary
  73. lines for the fastlane driver and also add the config lines in you config
  74. file. I have supplied my own files.amiga.newconf and GENERIC file so you can
  75. look in them if you need to.
  76.  
  77. Don't forget to do 'config.new GENERIC' (or whatever) and make depend before
  78. rebuilding your kernel.
  79.  
  80. You may also want to read the fastlane.kernel.950130.readme file.
  81.  
  82. Comments and questions should be sent to me:
  83.  
  84. Thanks
  85. /Daniel Widenfalk
  86. t94dwi@student.tdb.uu.se